home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 52
/
Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso
/
Aminet
/
dev
/
gg
/
gengetopt-2.6.lha
/
gengetopt-2.6
/
doc
/
cmdline2.h
< prev
next >
Wrap
C/C++ Source or Header
|
2002-06-24
|
2KB
|
59 lines
/* cmdline2.h */
/* File autogenerated by gengetopt version 2.6 */
#ifndef _cmdline2_h
#define _cmdline2_h
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* Don't define PACKAGE and VERSION if we use automake. */
#ifndef PACKAGE
/* ******* WRITE THE NAME OF YOUR PROGRAM HERE ******* */
#define PACKAGE ""
#endif
#ifndef VERSION
/* ******* WRITE THE VERSION OF YOUR PROGRAM HERE ******* */
#define VERSION ""
#endif
struct gengetopt_args_info {
char * str_opt_arg; /* A string option. */
int int_opt_arg; /* A int option. */
short short_opt_arg; /* A short option. */
long long_opt_arg; /* A long option. */
float float_opt_arg; /* A float option. */
double double_opt_arg; /* A double option. */
long double long_double_opt_arg; /* A long double option. */
long long long_long_opt_arg; /* A long long option. */
int flag_opt_flag; /* A flag option (default=off). */
int help_given ; /* Whether help was given. */
int version_given ; /* Whether version was given. */
int str_opt_given ; /* Whether str-opt was given. */
int int_opt_given ; /* Whether int-opt was given. */
int short_opt_given ; /* Whether short-opt was given. */
int long_opt_given ; /* Whether long-opt was given. */
int float_opt_given ; /* Whether float-opt was given. */
int double_opt_given ; /* Whether double-opt was given. */
int long_double_opt_given ; /* Whether long-double-opt was given. */
int long_long_opt_given ; /* Whether long-long-opt was given. */
int func_opt_given ; /* Whether func-opt was given. */
int flag_opt_given ; /* Whether flag-opt was given. */
char **inputs ; /* unamed options */
unsigned inputs_num ; /* unamed options number */
} ;
int my_cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
void my_cmdline_parser_print_help(void);
void my_cmdline_parser_print_version(void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _cmdline2_h */